<form action="{uri args="acp/newsletter/adm_list/action_delete"}" method="post" id="newsletter">
	<div id="adm-list">
		<a href="{uri args="acp/newsletter/compose"}" title="{lang values="newsletter|compose"}"><img src="{icon path="32/nl_compose"}" alt="{lang values="newsletter|compose"}" /></a>
		<a href="{uri args="acp/newsletter/settings"}" title="{lang values="newsletter|settings"}"><img src="{icon path="32/settings"}" alt="{lang values="newsletter|settings"}" /></a>
		<a href="javascript:$('#newsletter').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
		<h2>{lang values="newsletter|newsletter_accounts"}</h2>
	</div>
	<hr />
{if $newsletter}
{$pagination}
	<table>
		<thead>
			<tr>
				<th>{lang values="common|mark"}</th>
				<th>{lang values="common|email"}</th>
				<th>{lang values="common|options"}</th>
			</tr>
		</thead>
		<tbody>
{foreach from=$newsletter item=row}
			<tr>
				<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
				<td>{$row.mail}</td>
				<td>
{if $row.hash != ''}
					<a href="{uri args="acp/newsletter/entry/action_activate_adm/id_`$row.id`"}" title="{lang values="newsletter|activate_account"}"><img src="{icon path="16/inactive"}" alt="" /></a>
{else}
					<img src="{icon path="16/active"}" alt="" />
{/if}
				</td>
			</tr>
{/foreach}
		</tbody>
	</table>
	<div class="mark-entries">
		<a href="javascript:mark_entries('entries',true)">{lang values="common|mark_all"}</a> <span>::</span> <a href="javascript:mark_entries('entries',false)">{lang values="common|unmark_all"}</a>
	</div>
{else}
	<div class="error">
		<h5>{lang values="common|no_entries"}</h5>
	</div>
{/if}
</form>